package com.example.democlient.controller.service.impl;

import com.example.democlient.service.HelloRemote;
import org.springframework.stereotype.Component;

/**
 * @author Easettke
 * @version 1.0
 * @date 2019/8/4 23:26
 */
@Component
public class HelloRemoteHystrix implements HelloRemote {

    @Override
    public String hello(String name) {
        return "hello" + name + ", this messge send failed ";
    }
}
